LOCAL_PATH:= $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE    := libvbar
LOCAL_CFLAGS    := -O2 -s
#LOCAL_CFLAGS    := -Werror 
#LOCAL_CPPFLAGS := -fexceptions

LOCAL_CFLAGS += -DVBAR_USB_HID_HOST -UNDEBUG -D_LINUX -DVBAR_CONFIG_HAVE_USBHID
LOCAL_CFLAGS += -DVBAR_DEBUG=3

LOCAL_SRC_FILES := /src/com_vguang_VbarSo.c	\
                   /src/channel.c			  
				   
                   
#LOCAL_SRC_FILES += $(C_FILE_LIST:$(LOCAL_PATH)/%=%)

LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
LOCAL_C_INCLUDES += $(LOCAL_PATH)/include/vbar
#LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include

LOCAL_LDLIBS    := -llog

include $(BUILD_SHARED_LIBRARY)
